package com.pubinfo.passbook.common.service.master;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.pubinfo.passbook.common.entity.TPassbook;
import com.pubinfo.passbook.common.entity.TSystemRole;
import com.pubinfo.passbook.common.model.bo.witeoff.UserPassbookListParam;
import com.pubinfo.passbook.common.model.dto.financial.PassbookPageParamObj;
import com.pubinfo.passbook.common.model.dto.financial.PassbookParamAcct;
import com.pubinfo.passbook.common.model.ruler.PassbookInformation;
import com.pubinfo.passbook.common.model.vo.PassbookVo;
import com.pubinfo.passbook.common.model.vo.base.MyPage;

import java.util.List;

/**
 *
 */
public interface TPassbookService extends IService<TPassbook> {
  
  MyPage<PassbookVo> listTPassbook(PassbookPageParamObj paramObj, TSystemRole role, String acctId);
  
  IPage<PassbookVo> findAutoReimbursementByStaffCode(UserPassbookListParam listParam, TSystemRole role, String nsrsbh);
  
  List<TPassbook> getPassbookById(List<String> invoiceId);
  
  Boolean updateInvoice();//修改票据源
  
  IPage<TPassbook> selectTPassbookByAcct(PassbookParamAcct acct);

  IPage<PassbookInformation> selectTPassbookInformationByAcct(PassbookParamAcct acct);

  List<TPassbook> selectPassbookByFpdmAndFphm(List<TPassbook> passbook);
  // InvoiceResult<Result> detailsByParam(QueryDetailsParam detailsParam);
//  InvoiceResult<Result> detailsByParam(QueryDetailsParam detailsParam);
}
